STEP 12: Now that we have a loop, we can make as many buildings as we want!

RULE: The integer (whole number) inside range() controls how many times the loop runs.

  • Change the integer inside range() from 5 to 25.
  • Click Run to see our city completed!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)